Skip to main content
Version: Upcoming

DirectStockPrint

V8 Message Definiton

The most recent (last) print record CBOE.

METADATA

AttributeValue
Topic2990-market-data-stock
MLink TokenDirectEqtMktData
ProductSRLive
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition

FieldTypeKeyDefault ValueComment
ticker_atenum - AssetTypePRI'None'
ticker_tsenum - TickerSrcPRI'None'
ticker_tkVARCHAR(12)PRI''
prtSizeINT0print size
prtPriceFLOAT0print price level
marketCenterenum - MarketCenter'None'market Center speciffied by cboe
exchCumulativeExecutedVolumeINT0cboe reported cumulative colume
nationalCumulativeVolumeINT0sipcta volume
prtVolumeINT0cumulative print size today
mrkPriceFLOAT0last regular market print price
clsPriceFLOAT0official closing price if available
openPriceFLOAT0official Open price if available
highPriceFLOAT0official High price if available
lowPriceFLOAT0official Low price if available
nationalCumulativeVolumeSummaryINT0sipcta volume from summary message
prtTimestampBIGINT0exchange high precision timestamp if available
netTimestampBIGINT0inbound packet PTP timestamp from SR gateway switch usually syncronized with facility grandfather clock
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
ticker_tk1
ticker_at2
ticker_ts3

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRLive`.`MsgDirectStockPrint` (
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') NOT NULL DEFAULT 'None',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT') NOT NULL DEFAULT 'None',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '',
`prtSize` INT NOT NULL DEFAULT 0 COMMENT 'print size',
`prtPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'print price level',
`marketCenter` ENUM('None','BYX','BZX','EDGA','EDGX') NOT NULL DEFAULT 'None' COMMENT 'market Center speciffied by cboe',
`exchCumulativeExecutedVolume` INT NOT NULL DEFAULT 0 COMMENT 'cboe reported cumulative colume',
`nationalCumulativeVolume` INT NOT NULL DEFAULT 0 COMMENT 'sip/cta volume',
`prtVolume` INT NOT NULL DEFAULT 0 COMMENT 'cumulative print size today',
`mrkPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'last regular market print price',
`clsPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'official closing price (if available)',
`openPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'official Open price (if available)',
`highPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'official High price (if available)',
`lowPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'official Low price (if available)',
`nationalCumulativeVolumeSummary` INT NOT NULL DEFAULT 0 COMMENT 'sip/cta volume from summary message',
`prtTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'exchange high precision timestamp (if available)',
`netTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'inbound packet PTP timestamp from SR gateway switch; usually syncronized with facility grandfather clock',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`ticker_tk`,`ticker_at`,`ticker_ts`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='The most recent (last) print record CBOE.';

SELECT TABLE EXAMPLE QUERY

SELECT
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`prtSize`,
`prtPrice`,
`marketCenter`,
`exchCumulativeExecutedVolume`,
`nationalCumulativeVolume`,
`prtVolume`,
`mrkPrice`,
`clsPrice`,
`openPrice`,
`highPrice`,
`lowPrice`,
`nationalCumulativeVolumeSummary`,
`prtTimestamp`,
`netTimestamp`,
`timestamp`
FROM `SRLive`.`MsgDirectStockPrint`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY','RATE') */
`ticker_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT') */
`ticker_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk';

Doc Columns Query

SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='DirectStockPrint' ORDER BY ordinal_position ASC;